#!/usr/bin/env python
# encoding: utf-8

import os

Import('env')
Import('SDK_PATH')
Import('INCLUDES')

INCLUDES.extend([
  os.path.abspath(os.path.join(Dir('#').abspath, 'app/qjs')),
  os.path.abspath(os.path.join(Dir('#').abspath, 'app/shell')),
  os.path.abspath(os.path.join(Dir('#').abspath, 'app/src')),
])

sources = [
  Glob('qjs/*.c'),
  Glob('shell/*.c'),
  Glob('src/*.c'),
]

objects = env.StaticLibrary(source=sources, CPPPATH=INCLUDES)

Return('objects')
